package eirkdbd.lab1.membership.functions.helpers.norms.implications;

/**
 * KleeneDienes implication implementation 
 * @author pajac
 *
 */
public class KleeneDienesImplication implements Implication {

	public double value(double a, double b) {
		double val = 1. - a;
		if (val > b)
			return val;
		return b;
	}

}
